package inje.edu.cse.chansung.projectmanager;

import inje.edu.cse.chansung.projectmanager.setting.SettingActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class ProjectManagerActivity extends Activity implements OnClickListener {
    
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Button projectBrowsingButton = (Button)findViewById(R.id.main_project_browsing_btn);
        projectBrowsingButton.setOnClickListener(this);
        
        Button projectCreationButton = (Button)findViewById(R.id.main_project_creation_btn);
        projectCreationButton.setOnClickListener(this);
        
        Button settingButton			= (Button)findViewById(R.id.main_setting_btn);
        settingButton.setOnClickListener(this);
        
        Button documentButton		= (Button)findViewById(R.id.main_document_generating_button);
        documentButton.setOnClickListener(this);
    }

	public void onClick(View v) {
		switch( v.getId() ) {
		case R.id.main_project_browsing_btn :
			break;
			
		case R.id.main_project_creation_btn :
			break;
			
		case R.id.main_setting_btn :
			Intent settingActivityIntent = new Intent(this, SettingActivity.class);
			startActivity(settingActivityIntent);
			break;
			
		case R.id.main_document_generating_button :
			break;
		}
	}
}